import math
from utils import find_divisors

x = 1
counter = 1
while True:
    if len(find_divisors(x)) > 500:
        break
    counter += 1
    x += counter

print x 
